<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"	prefix="c"%>
<c:set value="900" var="menu" scope="application"/>
<head>
    <title>lynx-我</title>
</head>
<body>
<div class="container">
    <c:choose>
        <c:when test="${user == null}">
            <div class="login" style="margin-top: 10%">
                <div class="well">
                    <h2 align="center">登录</h2>
                    <div class="input-group input-group-lg">
                        <span class="input-group-addon">用户名</span>
                        <input id="login-id" type="text" class="form-control" placeholder="用户名/邮箱">
                    </div>
                    <br>
                    <div class="input-group input-group-lg">
                        <span class="input-group-addon">&nbsp;&nbsp;&nbsp;密码</span>
                        <input id="login-pwd" type="password" class="form-control">
                    </div>
                    <br>
                    <button id="btn-login" class="btn btn-primary btn-lg" style="width: 100%">登陆</button>
                    <br><br>
                    <button id="btn-register" class="btn btn-success btn-lg" style="width: 100%">注册</button>
                </div>
                <div class="shadow">
                </div>
            </div>
        </c:when>
        <c:otherwise>
            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar" role="navigation">
                <div class="list-group">
                    <a href="#" class="list-group-item base-info active">基本信息</a>
                    <a href="#" class="list-group-item privilege">权限设置</a>
                    <a href="account/my" class="list-group-item logout">退出登录</a>
                </div>
            </div>
        </c:otherwise>
    </c:choose>
</div>

<div id="accountModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header alert-danger">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="model-title"></h4>
            </div>
            <div class="modal-body" id="model-content"></div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal" aria-hidden="true">确认</button>
                <button type="button" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">取消</button>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="${pageContext.request.contextPath}/js/biz/my.js"></script>

</body>


